group_df <- tibble(
id = 1:1000,
height = rnorm(1000, 170, 6),
weight = rnorm(1000, 80, 10),
eye_colour = sample(c("Blue", "Green", "Brown", "Grey"),
1000,
replace = T)
)
group_df# A tibble: 1,000 × 4
id height weight eye_colour
<int> <dbl> <dbl> <chr>
1 1 167. 87.7 Grey
2 2 174. 88.9 Brown
3 3 166. 67.3 Blue
4 4 167. 75.0 Blue
5 5 171. 79.3 Green
6 6 171. 93.4 Blue
7 7 169. 73.0 Blue
8 8 171. 97.0 Brown
9 9 168. 101. Grey
10 10 177. 63.7 Green
# ℹ 990 more rows